<template>
    <div >
       <div class="cla-search">
             <router-link :to="{ path: '/needshop/'+num }" class="sn-se-inp">
                <i class="search-icon"></i><span>搜索你想要的商品</span>
            </router-link>
        </div>
        <!-- <div class="start-time" v-if="sinfo" v-text="sinfo"></div> -->
    </div>
</template>

<script>
    // import { Group, Cell } from 'vux'
    import {mapMutations, mapState, mapGetters} from 'vuex' 
    export default {
       props:["sinfo", 'num'],
       methods:{
         
       },
       components: {
        // Group,
        // Cell
       }
    }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
     .cla-search {
        position: relative;
        height: 1.76rem;
        padding: 0.40rem 0.56rem;
        background-color: #fff;
    }
   .cla-search .sn-se-inp {
    position: relative;
    display: block;
    background-color: #f0f0f0;
    border-radius: 1.2rem;
    height: 1.2rem;
    line-height: 1.2rem;
    padding: 0.2rem 0.2rem 0.2rem 1.12rem;
    text-align: center;
    color: #8B8B8B;
    box-sizing: border-box;
    
}
* {
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-box-sizing: border-box;
}
 
.start-time {
    height: 1.2rem;
    line-height: 1.2rem;
    background-color: #fff;
    font-size: .52rem;
    color: #6C6C6C;
    text-align: center;
}
.cla-search .sn-se-inp span {
    position: relative;
    top: -0.18rem;
    left: 0.1rem;
}
.cla-search .sn-se-inp .search-icon {
      vertical-align: -0.2rem;
      display: inline-block;
      -webkit-transform: translateY(-50%);
      width: .56rem;
      height: .56rem;
      background:url() 0 center no-repeat;
      background-size: contain;
  }
</style>
